//
// Created by root on 24-7-21.
//

#ifndef EPOLL_EVENT_HAND_H
#define EPOLL_EVENT_HAND_H
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <asm-generic/errno-base.h>
#include <netinet/in.h>
#include <sys/epoll.h>
#include <sys/socket.h>

#define EV_READ EPOLLIN
#define EV_WRITE EPOLLOUT
int epoll_event_del(int epfd,int fd,int event);
int epoll_event_add(int epfd, int fd, int event);
#endif //EPOLL_EVENT_HAND_H
